#include "AddressLiteral.h"

void email::AddressLiteral::parse(QString str)
{
	QRegExp re;
	re.setPattern(email::pattern::ADDRESS_LITERAL);
	re.indexIn(str);
	email::AddressLiteral::literal = re.cap(1);
}